package com.hnkywl.sts.entity.cwgl;

import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 13-6-5
 * Time: 上午9:50
 * 凭证字
 */
@Entity
@Table(name = "T_SYS_PZZ")
@Where(clause = "deleted!='1'")
public class Pzz {
    /**
     * 代码
     */
    @Id
    private int code;
    /**
     * 名称
     */
    private String name;
    /**
     * 删除标示  0：未删除 1：删除
     */
    private int deleted;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }
}
